def reverse_int(a):
    if a in range(100,1000):
        print((a%10)*100+(a//10%10)*10+(a//100))

    
reverse_int(123)
